import java.io.IOException;

public class LogParser extends Parser
{

    public LogParser(String file) throws IOException
    {
        super(file);
    }

    @Override
    public void parse() throws IOException
    {
        String line;
        while ((line = reader.readLine()) != null)
        {
            if (line.length() > 0 && !line.equals("1 row created."))
                writer.write(line + '\n');
        }
        reader.close();
        writer.close();
    }

}
